<template>
    <div class='detail'>
        
        <div>
            详情<button @click="$router.go(-1)">返回</button>
        </div>
      <van-goods-action>
  <van-goods-action-icon icon="chat-o" text="客服" @click="onClickIcon" />
  <van-goods-action-icon icon="cart-o" text="购物车" @click="onClickIcon" />
  <van-goods-action-icon icon="shop-o" text="店铺" @click="onClickIcon" />
  <van-goods-action-button
    type="danger"
    text="立即购买"
    @click="onClickButton"
  />
</van-goods-action>
     
    </div>
</template>

<script>


export default {
  methods: {
    onClickIcon() {
      Toast('点击图标');
    },
    onClickButton() {
      Toast('点击按钮');
    },
  },
};
</script>

<style lang='scss'>

.detail{
    width:100%;
    height:100%;
  
}

</style>
